package com.sl.mes.db.vo;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

public class BdDefdoc {
    private String pkDefdoc;

    private String code;

    private String creationtime;

    private String creator;

    private Integer dataoriginflag;

    private Integer datatype;

    private String def1;

    private String def10;

    private String def11;

    private String def12;

    private String def13;

    private String def14;

    private String def15;

    private String def16;

    private String def17;

    private String def18;

    private String def19;

    private String def2;

    private String def20;

    private String def3;

    private String def4;

    private String def5;

    private String def6;

    private String def7;

    private String def8;

    private String def9;

    private Integer dr;

    private Integer enablestate;

    private String innercode;

    private String memo;

    private String mnecode;

    private String modifiedtime;

    private String modifier;

    private String name;

    private String name2;

    private String name3;

    private String name4;

    private String name5;

    private String name6;

    private String pid;

    private String pkDefdoclist;

    private String pkGroup;

    private String pkOrg;

    private String shortname;

    private String shortname2;

    private String shortname3;

    private String shortname4;

    private String shortname5;

    private String shortname6;

    private LocalDateTime ts;

    public String getPkDefdoc() {
        return pkDefdoc;
    }

    public void setPkDefdoc(String pkDefdoc) {
        this.pkDefdoc = pkDefdoc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(String creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Integer getDataoriginflag() {
        return dataoriginflag;
    }

    public void setDataoriginflag(Integer dataoriginflag) {
        this.dataoriginflag = dataoriginflag;
    }

    public Integer getDatatype() {
        return datatype;
    }

    public void setDatatype(Integer datatype) {
        this.datatype = datatype;
    }

    public String getDef1() {
        return def1;
    }

    public void setDef1(String def1) {
        this.def1 = def1;
    }

    public String getDef10() {
        return def10;
    }

    public void setDef10(String def10) {
        this.def10 = def10;
    }

    public String getDef11() {
        return def11;
    }

    public void setDef11(String def11) {
        this.def11 = def11;
    }

    public String getDef12() {
        return def12;
    }

    public void setDef12(String def12) {
        this.def12 = def12;
    }

    public String getDef13() {
        return def13;
    }

    public void setDef13(String def13) {
        this.def13 = def13;
    }

    public String getDef14() {
        return def14;
    }

    public void setDef14(String def14) {
        this.def14 = def14;
    }

    public String getDef15() {
        return def15;
    }

    public void setDef15(String def15) {
        this.def15 = def15;
    }

    public String getDef16() {
        return def16;
    }

    public void setDef16(String def16) {
        this.def16 = def16;
    }

    public String getDef17() {
        return def17;
    }

    public void setDef17(String def17) {
        this.def17 = def17;
    }

    public String getDef18() {
        return def18;
    }

    public void setDef18(String def18) {
        this.def18 = def18;
    }

    public String getDef19() {
        return def19;
    }

    public void setDef19(String def19) {
        this.def19 = def19;
    }

    public String getDef2() {
        return def2;
    }

    public void setDef2(String def2) {
        this.def2 = def2;
    }

    public String getDef20() {
        return def20;
    }

    public void setDef20(String def20) {
        this.def20 = def20;
    }

    public String getDef3() {
        return def3;
    }

    public void setDef3(String def3) {
        this.def3 = def3;
    }

    public String getDef4() {
        return def4;
    }

    public void setDef4(String def4) {
        this.def4 = def4;
    }

    public String getDef5() {
        return def5;
    }

    public void setDef5(String def5) {
        this.def5 = def5;
    }

    public String getDef6() {
        return def6;
    }

    public void setDef6(String def6) {
        this.def6 = def6;
    }

    public String getDef7() {
        return def7;
    }

    public void setDef7(String def7) {
        this.def7 = def7;
    }

    public String getDef8() {
        return def8;
    }

    public void setDef8(String def8) {
        this.def8 = def8;
    }

    public String getDef9() {
        return def9;
    }

    public void setDef9(String def9) {
        this.def9 = def9;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Integer getEnablestate() {
        return enablestate;
    }

    public void setEnablestate(Integer enablestate) {
        this.enablestate = enablestate;
    }

    public String getInnercode() {
        return innercode;
    }

    public void setInnercode(String innercode) {
        this.innercode = innercode;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getMnecode() {
        return mnecode;
    }

    public void setMnecode(String mnecode) {
        this.mnecode = mnecode;
    }

    public String getModifiedtime() {
        return modifiedtime;
    }

    public void setModifiedtime(String modifiedtime) {
        this.modifiedtime = modifiedtime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    public String getName3() {
        return name3;
    }

    public void setName3(String name3) {
        this.name3 = name3;
    }

    public String getName4() {
        return name4;
    }

    public void setName4(String name4) {
        this.name4 = name4;
    }

    public String getName5() {
        return name5;
    }

    public void setName5(String name5) {
        this.name5 = name5;
    }

    public String getName6() {
        return name6;
    }

    public void setName6(String name6) {
        this.name6 = name6;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPkDefdoclist() {
        return pkDefdoclist;
    }

    public void setPkDefdoclist(String pkDefdoclist) {
        this.pkDefdoclist = pkDefdoclist;
    }

    public String getPkGroup() {
        return pkGroup;
    }

    public void setPkGroup(String pkGroup) {
        this.pkGroup = pkGroup;
    }

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getShortname2() {
        return shortname2;
    }

    public void setShortname2(String shortname2) {
        this.shortname2 = shortname2;
    }

    public String getShortname3() {
        return shortname3;
    }

    public void setShortname3(String shortname3) {
        this.shortname3 = shortname3;
    }

    public String getShortname4() {
        return shortname4;
    }

    public void setShortname4(String shortname4) {
        this.shortname4 = shortname4;
    }

    public String getShortname5() {
        return shortname5;
    }

    public void setShortname5(String shortname5) {
        this.shortname5 = shortname5;
    }

    public String getShortname6() {
        return shortname6;
    }

    public void setShortname6(String shortname6) {
        this.shortname6 = shortname6;
    }

    public LocalDateTime getTs() {
        return ts;
    }

    public void setTs(LocalDateTime ts) {
        this.ts = ts;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", pkDefdoc=").append(pkDefdoc);
        sb.append(", code=").append(code);
        sb.append(", creationtime=").append(creationtime);
        sb.append(", creator=").append(creator);
        sb.append(", dataoriginflag=").append(dataoriginflag);
        sb.append(", datatype=").append(datatype);
        sb.append(", def1=").append(def1);
        sb.append(", def10=").append(def10);
        sb.append(", def11=").append(def11);
        sb.append(", def12=").append(def12);
        sb.append(", def13=").append(def13);
        sb.append(", def14=").append(def14);
        sb.append(", def15=").append(def15);
        sb.append(", def16=").append(def16);
        sb.append(", def17=").append(def17);
        sb.append(", def18=").append(def18);
        sb.append(", def19=").append(def19);
        sb.append(", def2=").append(def2);
        sb.append(", def20=").append(def20);
        sb.append(", def3=").append(def3);
        sb.append(", def4=").append(def4);
        sb.append(", def5=").append(def5);
        sb.append(", def6=").append(def6);
        sb.append(", def7=").append(def7);
        sb.append(", def8=").append(def8);
        sb.append(", def9=").append(def9);
        sb.append(", dr=").append(dr);
        sb.append(", enablestate=").append(enablestate);
        sb.append(", innercode=").append(innercode);
        sb.append(", memo=").append(memo);
        sb.append(", mnecode=").append(mnecode);
        sb.append(", modifiedtime=").append(modifiedtime);
        sb.append(", modifier=").append(modifier);
        sb.append(", name=").append(name);
        sb.append(", name2=").append(name2);
        sb.append(", name3=").append(name3);
        sb.append(", name4=").append(name4);
        sb.append(", name5=").append(name5);
        sb.append(", name6=").append(name6);
        sb.append(", pid=").append(pid);
        sb.append(", pkDefdoclist=").append(pkDefdoclist);
        sb.append(", pkGroup=").append(pkGroup);
        sb.append(", pkOrg=").append(pkOrg);
        sb.append(", shortname=").append(shortname);
        sb.append(", shortname2=").append(shortname2);
        sb.append(", shortname3=").append(shortname3);
        sb.append(", shortname4=").append(shortname4);
        sb.append(", shortname5=").append(shortname5);
        sb.append(", shortname6=").append(shortname6);
        sb.append(", ts=").append(ts);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BdDefdoc other = (BdDefdoc) that;
        return (this.getPkDefdoc() == null ? other.getPkDefdoc() == null : this.getPkDefdoc().equals(other.getPkDefdoc()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getCreationtime() == null ? other.getCreationtime() == null : this.getCreationtime().equals(other.getCreationtime()))
            && (this.getCreator() == null ? other.getCreator() == null : this.getCreator().equals(other.getCreator()))
            && (this.getDataoriginflag() == null ? other.getDataoriginflag() == null : this.getDataoriginflag().equals(other.getDataoriginflag()))
            && (this.getDatatype() == null ? other.getDatatype() == null : this.getDatatype().equals(other.getDatatype()))
            && (this.getDef1() == null ? other.getDef1() == null : this.getDef1().equals(other.getDef1()))
            && (this.getDef10() == null ? other.getDef10() == null : this.getDef10().equals(other.getDef10()))
            && (this.getDef11() == null ? other.getDef11() == null : this.getDef11().equals(other.getDef11()))
            && (this.getDef12() == null ? other.getDef12() == null : this.getDef12().equals(other.getDef12()))
            && (this.getDef13() == null ? other.getDef13() == null : this.getDef13().equals(other.getDef13()))
            && (this.getDef14() == null ? other.getDef14() == null : this.getDef14().equals(other.getDef14()))
            && (this.getDef15() == null ? other.getDef15() == null : this.getDef15().equals(other.getDef15()))
            && (this.getDef16() == null ? other.getDef16() == null : this.getDef16().equals(other.getDef16()))
            && (this.getDef17() == null ? other.getDef17() == null : this.getDef17().equals(other.getDef17()))
            && (this.getDef18() == null ? other.getDef18() == null : this.getDef18().equals(other.getDef18()))
            && (this.getDef19() == null ? other.getDef19() == null : this.getDef19().equals(other.getDef19()))
            && (this.getDef2() == null ? other.getDef2() == null : this.getDef2().equals(other.getDef2()))
            && (this.getDef20() == null ? other.getDef20() == null : this.getDef20().equals(other.getDef20()))
            && (this.getDef3() == null ? other.getDef3() == null : this.getDef3().equals(other.getDef3()))
            && (this.getDef4() == null ? other.getDef4() == null : this.getDef4().equals(other.getDef4()))
            && (this.getDef5() == null ? other.getDef5() == null : this.getDef5().equals(other.getDef5()))
            && (this.getDef6() == null ? other.getDef6() == null : this.getDef6().equals(other.getDef6()))
            && (this.getDef7() == null ? other.getDef7() == null : this.getDef7().equals(other.getDef7()))
            && (this.getDef8() == null ? other.getDef8() == null : this.getDef8().equals(other.getDef8()))
            && (this.getDef9() == null ? other.getDef9() == null : this.getDef9().equals(other.getDef9()))
            && (this.getDr() == null ? other.getDr() == null : this.getDr().equals(other.getDr()))
            && (this.getEnablestate() == null ? other.getEnablestate() == null : this.getEnablestate().equals(other.getEnablestate()))
            && (this.getInnercode() == null ? other.getInnercode() == null : this.getInnercode().equals(other.getInnercode()))
            && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
            && (this.getMnecode() == null ? other.getMnecode() == null : this.getMnecode().equals(other.getMnecode()))
            && (this.getModifiedtime() == null ? other.getModifiedtime() == null : this.getModifiedtime().equals(other.getModifiedtime()))
            && (this.getModifier() == null ? other.getModifier() == null : this.getModifier().equals(other.getModifier()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getName2() == null ? other.getName2() == null : this.getName2().equals(other.getName2()))
            && (this.getName3() == null ? other.getName3() == null : this.getName3().equals(other.getName3()))
            && (this.getName4() == null ? other.getName4() == null : this.getName4().equals(other.getName4()))
            && (this.getName5() == null ? other.getName5() == null : this.getName5().equals(other.getName5()))
            && (this.getName6() == null ? other.getName6() == null : this.getName6().equals(other.getName6()))
            && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
            && (this.getPkDefdoclist() == null ? other.getPkDefdoclist() == null : this.getPkDefdoclist().equals(other.getPkDefdoclist()))
            && (this.getPkGroup() == null ? other.getPkGroup() == null : this.getPkGroup().equals(other.getPkGroup()))
            && (this.getPkOrg() == null ? other.getPkOrg() == null : this.getPkOrg().equals(other.getPkOrg()))
            && (this.getShortname() == null ? other.getShortname() == null : this.getShortname().equals(other.getShortname()))
            && (this.getShortname2() == null ? other.getShortname2() == null : this.getShortname2().equals(other.getShortname2()))
            && (this.getShortname3() == null ? other.getShortname3() == null : this.getShortname3().equals(other.getShortname3()))
            && (this.getShortname4() == null ? other.getShortname4() == null : this.getShortname4().equals(other.getShortname4()))
            && (this.getShortname5() == null ? other.getShortname5() == null : this.getShortname5().equals(other.getShortname5()))
            && (this.getShortname6() == null ? other.getShortname6() == null : this.getShortname6().equals(other.getShortname6()))
            && (this.getTs() == null ? other.getTs() == null : this.getTs().equals(other.getTs()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPkDefdoc() == null) ? 0 : getPkDefdoc().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getCreationtime() == null) ? 0 : getCreationtime().hashCode());
        result = prime * result + ((getCreator() == null) ? 0 : getCreator().hashCode());
        result = prime * result + ((getDataoriginflag() == null) ? 0 : getDataoriginflag().hashCode());
        result = prime * result + ((getDatatype() == null) ? 0 : getDatatype().hashCode());
        result = prime * result + ((getDef1() == null) ? 0 : getDef1().hashCode());
        result = prime * result + ((getDef10() == null) ? 0 : getDef10().hashCode());
        result = prime * result + ((getDef11() == null) ? 0 : getDef11().hashCode());
        result = prime * result + ((getDef12() == null) ? 0 : getDef12().hashCode());
        result = prime * result + ((getDef13() == null) ? 0 : getDef13().hashCode());
        result = prime * result + ((getDef14() == null) ? 0 : getDef14().hashCode());
        result = prime * result + ((getDef15() == null) ? 0 : getDef15().hashCode());
        result = prime * result + ((getDef16() == null) ? 0 : getDef16().hashCode());
        result = prime * result + ((getDef17() == null) ? 0 : getDef17().hashCode());
        result = prime * result + ((getDef18() == null) ? 0 : getDef18().hashCode());
        result = prime * result + ((getDef19() == null) ? 0 : getDef19().hashCode());
        result = prime * result + ((getDef2() == null) ? 0 : getDef2().hashCode());
        result = prime * result + ((getDef20() == null) ? 0 : getDef20().hashCode());
        result = prime * result + ((getDef3() == null) ? 0 : getDef3().hashCode());
        result = prime * result + ((getDef4() == null) ? 0 : getDef4().hashCode());
        result = prime * result + ((getDef5() == null) ? 0 : getDef5().hashCode());
        result = prime * result + ((getDef6() == null) ? 0 : getDef6().hashCode());
        result = prime * result + ((getDef7() == null) ? 0 : getDef7().hashCode());
        result = prime * result + ((getDef8() == null) ? 0 : getDef8().hashCode());
        result = prime * result + ((getDef9() == null) ? 0 : getDef9().hashCode());
        result = prime * result + ((getDr() == null) ? 0 : getDr().hashCode());
        result = prime * result + ((getEnablestate() == null) ? 0 : getEnablestate().hashCode());
        result = prime * result + ((getInnercode() == null) ? 0 : getInnercode().hashCode());
        result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
        result = prime * result + ((getMnecode() == null) ? 0 : getMnecode().hashCode());
        result = prime * result + ((getModifiedtime() == null) ? 0 : getModifiedtime().hashCode());
        result = prime * result + ((getModifier() == null) ? 0 : getModifier().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getName2() == null) ? 0 : getName2().hashCode());
        result = prime * result + ((getName3() == null) ? 0 : getName3().hashCode());
        result = prime * result + ((getName4() == null) ? 0 : getName4().hashCode());
        result = prime * result + ((getName5() == null) ? 0 : getName5().hashCode());
        result = prime * result + ((getName6() == null) ? 0 : getName6().hashCode());
        result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
        result = prime * result + ((getPkDefdoclist() == null) ? 0 : getPkDefdoclist().hashCode());
        result = prime * result + ((getPkGroup() == null) ? 0 : getPkGroup().hashCode());
        result = prime * result + ((getPkOrg() == null) ? 0 : getPkOrg().hashCode());
        result = prime * result + ((getShortname() == null) ? 0 : getShortname().hashCode());
        result = prime * result + ((getShortname2() == null) ? 0 : getShortname2().hashCode());
        result = prime * result + ((getShortname3() == null) ? 0 : getShortname3().hashCode());
        result = prime * result + ((getShortname4() == null) ? 0 : getShortname4().hashCode());
        result = prime * result + ((getShortname5() == null) ? 0 : getShortname5().hashCode());
        result = prime * result + ((getShortname6() == null) ? 0 : getShortname6().hashCode());
        result = prime * result + ((getTs() == null) ? 0 : getTs().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table bd_defdoc
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public enum Column {
        pkDefdoc("pk_defdoc", "pkDefdoc", "CHAR", false),
        code("code", "code", "VARCHAR", false),
        creationtime("creationtime", "creationtime", "CHAR", false),
        creator("creator", "creator", "VARCHAR", false),
        dataoriginflag("dataoriginflag", "dataoriginflag", "INTEGER", false),
        datatype("datatype", "datatype", "INTEGER", false),
        def1("def1", "def1", "VARCHAR", false),
        def10("def10", "def10", "VARCHAR", false),
        def11("def11", "def11", "VARCHAR", false),
        def12("def12", "def12", "VARCHAR", false),
        def13("def13", "def13", "VARCHAR", false),
        def14("def14", "def14", "VARCHAR", false),
        def15("def15", "def15", "VARCHAR", false),
        def16("def16", "def16", "VARCHAR", false),
        def17("def17", "def17", "VARCHAR", false),
        def18("def18", "def18", "VARCHAR", false),
        def19("def19", "def19", "VARCHAR", false),
        def2("def2", "def2", "VARCHAR", false),
        def20("def20", "def20", "VARCHAR", false),
        def3("def3", "def3", "VARCHAR", false),
        def4("def4", "def4", "VARCHAR", false),
        def5("def5", "def5", "VARCHAR", false),
        def6("def6", "def6", "VARCHAR", false),
        def7("def7", "def7", "VARCHAR", false),
        def8("def8", "def8", "VARCHAR", false),
        def9("def9", "def9", "VARCHAR", false),
        dr("dr", "dr", "INTEGER", false),
        enablestate("enablestate", "enablestate", "INTEGER", false),
        innercode("innercode", "innercode", "VARCHAR", false),
        memo("memo", "memo", "VARCHAR", false),
        mnecode("mnecode", "mnecode", "VARCHAR", false),
        modifiedtime("modifiedtime", "modifiedtime", "CHAR", false),
        modifier("modifier", "modifier", "VARCHAR", false),
        name("name", "name", "VARCHAR", true),
        name2("name2", "name2", "VARCHAR", false),
        name3("name3", "name3", "VARCHAR", false),
        name4("name4", "name4", "VARCHAR", false),
        name5("name5", "name5", "VARCHAR", false),
        name6("name6", "name6", "VARCHAR", false),
        pid("pid", "pid", "VARCHAR", false),
        pkDefdoclist("pk_defdoclist", "pkDefdoclist", "CHAR", false),
        pkGroup("pk_group", "pkGroup", "VARCHAR", false),
        pkOrg("pk_org", "pkOrg", "CHAR", false),
        shortname("shortname", "shortname", "VARCHAR", false),
        shortname2("shortname2", "shortname2", "VARCHAR", false),
        shortname3("shortname3", "shortname3", "VARCHAR", false),
        shortname4("shortname4", "shortname4", "VARCHAR", false),
        shortname5("shortname5", "shortname5", "VARCHAR", false),
        shortname6("shortname6", "shortname6", "VARCHAR", false),
        ts("ts", "ts", "TIMESTAMP", false);

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private static final String BEGINNING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private static final String ENDING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String column;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final boolean isColumnNameDelimited;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String javaProperty;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String jdbcType;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_defdoc
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }
    }
}